<?php
require 'inc/config.php';

echo 'Welcome to LilNate22\'s Complete Aion Website!, this has been braught to you buy <a href="http://pirate-games.net">Pirate-Games</a> \n
please follow the directions to get you started! \n';

		global $ip;
		global $user;
		global $password;
		global $db;
		
	echo 'Are these information correct? (if not, please locate your config file in \'inc/config.php\' and edit them) <br>
	mysql Server IP:'.$ip.'<br> mysql User:'.$user.'<br> mysql password: '.$password.' <br> mysql database: '.$db.'<br>';


echo '<form method="post" action="">
<label>Select Your Server</label>
<select name="server">
<option>Siel</option>
<option>Israphel</option>
<option>Ariel</option>
<option>Azphel</option>
<option>Fregion</option>
<option>Kaisinel</option>
<option>Lumiel</option>
<option>Marchutan</option>
<option>Meslamtaeda</option>
<option>
Nezekan</option>
<option>
<option>
Triniel</option>
<option>
Vaizel</option>
<option>Yustiel</option>
<option>Zikel</option>
</select>
</form>';

if(isset($_POST['server']))
{
	$server=$_POST['server'];
	$query="insert into `config` VALUES ('".$server."');";
	mysql_query($query);
	$query="";
}


?>	